<%@ page import="org.glickr.enums.FlickrSizeSuffix" contentType="text/html;charset=UTF-8" %>
<html>
    <head>
        <meta name="layout" content="main"/>
    </head>
    <body>
        <g:each in="${examples}" var="example">
            <h2 class="example">flickrService.${example.method}('${example.params}')</h2>

            <g:each in="${example.result?.photos}" var="photo">
                <g:photoImage photo="${photo}" sizeSuffix="${FlickrSizeSuffix.Square}" href="${createLink(controller:'photo',action:'getPhotoDetails', id:photo.id, absolute:true)}" css="example" />
            </g:each>
            %{--<g:photoSetBrowser photoSet="${example.result}" />--}%

            <hr class="example" />
        </g:each>
    </body>
</html>